<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_chart": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_chart": "active",
      "chart_peity": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

    <div class="component-content">
      <div class="component-content-header">
        <nav aria-label="breadcrumb">
          <ol class="breadcrumb breadcrumb-style1 mg-b-0">
            <li class="breadcrumb-item"><a href="#">Components</a></li>
            <li class="breadcrumb-item"><a href="#">Charts</a></li>
            <li class="breadcrumb-item active" aria-current="page">Peity</li>
          </ol>
        </nav>
        <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
      </div><!-- component-content-header -->

      <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
        <div class="content content-components">
          <div class="container">
            <!--sd-->
            <h1 class="td-title">Peity Charts</h1>
            <p class="td-lead">Peity is a jQuery plugin that converts an element's content into an svg mini pie, donut, line, or bar chart and is compatible with any browser that supports svg. Read the <a href="http://benpickles.github.io/peity/" target="_blank">Official Peity Documentation</a> for a full list of instructions and other options.</p>

            <hr class="mg-y-40">

            <h4 id="section1" class="mg-b-10">Bar Chart</h4>
            <p class="mg-b-30">Below is the basic bar chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="d-sm-flex">
                <div>
                  <span class="peity-bar" data-peity='{ "fill": ["#560bd0"], "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
                <div class="mg-sm-l-30 mg-t-20 mg-sm-t-0">
                  <span class="peity-bar" data-peity='{ "fill": ["#007bff"], "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
              </div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section2" class="mg-b-10">Line Chart</h4>
            <p class="mg-b-30">Below is the basic line chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="d-sm-flex">
                <div>
                  <span class="peity-line" data-peity='{ "fill": false, "stroke": "#007bff", "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
                <div class="mg-sm-l-30 mg-t-20 mg-sm-t-0">
                  <span class="peity-line" data-peity='{ "fill": false, "stroke": "#f10075", "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
              </div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section3" class="mg-b-10">Area Chart</h4>
            <p class="mg-b-30">Below is the basic area chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="d-sm-flex">
                <div>
                  <span class="peity-line" data-peity='{ "fill": "rgba(0,123,255,.2)", "stroke": "#007bff", "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
                <div class="mg-sm-l-30 mg-t-20 mg-sm-t-0">
                  <span class="peity-line" data-peity='{ "fill": "rgba(241,0,117,.2)", "stroke": "#f10075", "height": 70, "width": 200 }'>10,4,4,7,5,9,10,1,4,4,7,5,9,10</span>
                </div>
              </div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section4" class="mg-b-10">Pie and Donut Chart</h4>
            <p class="mg-b-30">Below is the basic pie and donut chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="d-flex">
                <div>
                  <span class="peity-pie" data-peity='{ "fill": ["#663090","#EC1778","#25B1DE"], "height": 70, "width": 100 }'>10,4,4</span>
                </div>
                <div class="mg-l-30">
                  <span class="peity-donut" data-peity='{ "fill": ["#663090","#EC1778","#25B1DE"], "height": 70, "width": 100 }'>10,4,4</span>
                </div>
              </div>
            </div><!-- td-example -->
            @@include('./footer.html',{})
            <!-- content-footer -->
          </div>
        </div>
      </div><!-- component-content-body -->

      <div class="component-content-sidebar section-nav">
        <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
        <nav id="navSection" class="nav flex-column">
          <a href="#section1" class="nav-link">Bar Chart</a>
          <a href="#section2" class="nav-link">Line Chart</a>
          <a href="#section3" class="nav-link">Area Chart</a>
          <a href="#section4" class="nav-link">Pie and Donut</a>
        </nav>
      </div><!-- component-content-sidebar -->
    </div><!-- component-content -->

  </div><!-- component-wrapper -->

  @@include('./_script.html',{})

  <script src="../lib/peity/jquery.peity.min.js"></script>
  <script src="../assets/js/chart.peity.js"></script>
  
  <script>
    $(function () {
      'use strict'
    });
  </script>
</body>

</html>